﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified"
           elementFormDefault="qualified"
           targetNamespace= "http://dataaccessor.codeplex.com/xsd/holistic"
           xmlns= "http://dataaccessor.codeplex.com/xsd/holistic"
           xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="Holistic">
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" name="Database">
          <xs:complexType>
            <xs:sequence>
              <xs:element maxOccurs="unbounded" name="Config">
                <xs:complexType>
                  <xs:attribute name="Name" type="xs:string" use="required" />
                  <xs:attribute name="FilePath" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
            </xs:sequence>
            <xs:attribute name="Name" type="xs:string" use="required" />
            <xs:attribute name="ConnectionString" type="xs:string" use="required" />
            <xs:attribute name="DataAccessor" type="xs:string" use="required" />
            <xs:attribute name="Protector" type="xs:string" use="optional" />
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>